package org.jeecg.modules.tz.service.impl;

import org.jeecg.modules.tz.entity.TzNetwork;
import org.jeecg.modules.tz.mapper.TzNetworkMapper;
import org.jeecg.modules.tz.service.ITzNetworkService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import javax.annotation.Resource;
import java.util.List;

/**
 * @Description: tz_network
 * @Author: jeecg-boot
 * @Date:   2024-08-26
 * @Version: V1.0
 */
@Service
public class TzNetworkServiceImpl extends ServiceImpl<TzNetworkMapper, TzNetwork> implements ITzNetworkService {
    @Resource
    private TzNetworkMapper tzNetworkMapper;

    @Override
    public List<TzNetwork> listAllNetWork() {
        return tzNetworkMapper.listAllNetWork();
    }

    @Override
    public TzNetwork listNetWorkById(String id) {
        return tzNetworkMapper.listNetWorkById(id);
    }
}
